[#ftl]
[#assign entityName="PageChannel"]
[#assign pathRoot="/admin/cms/basic/channel/channel_"]
[@jsec.authPage perms=["${entityName}ctrl"]/]
[@frame.root]
  <!-- Default panel contents -->
  [@frame.title]
  	编辑栏目
  [/@]
[@frame.body]
  	[#global ent=(jdao.hql("from ${entityName} where id=?",[jweb.pathName("id")])()[0])!{}]
    [@form.form id="ent" action="${base}${pathRoot}save.shtml" back="${base}${pathRoot}list.shtml"]
		[@form.text id="code" label="编号" length=3 required=true/]
		[@form.text id="name" label="名称" length=3 required=true  /]
	[/@]
[/@]

[/@]
